<template>
  <div class="seller-con">
    商铺首页
    {{ sellerData }}
  </div>
</template>

<script>
import { getShop } from '@/api/shop.js'

export default {
  data() {
    return {
      sellerData: null
    }
  },
  created() {
    this.getSeller()
  },
  methods: {
    async getSeller() {
      const { data } = await getShop()
      console.log(data)
      this.sellerData = data
    }
  }
}
</script>

<style lang="less" scoped>
.seller-con {
  overflow: hidden;
}
</style>
